package com.study.java.oop;

public class Complex {

    private int Real;
    private int Image;

    public Complex(int real, int image) {
        Real = real;
        Image = image;
    }

    public int getReal() {
        return Real;
    }

    public void setReal(int real) {
        Real = real;
    }

    public int getImage() {
        return Image;
    }

    public void setImage(int image) {
        Image = image;
    }

    public void Show(){
        System.out.println(Real + Image);
    }
}
